package cn.etgps.etgps.ui;

import android.os.Bundle;

import cn.etgps.etgps.R;
import cn.etgps.etgps.base.BaseActivity;
import cn.etgps.etgps.view.TitleBar;

/**
 * 这是一个介绍公司基本信息的类
 */
public class AboutActivity extends BaseActivity {
    private TitleBar mTitlebarView = null;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        mTitlebarView = (TitleBar) findViewById(R.id.title_bar);
        mTitlebarView.initTitleBarInfo(getString(R.string.label_about_title_me), "", R.drawable.icon_return, "", 0,
                false);
        mTitlebarView.setMainClickListener(this, getString(R.string.btn_back), "");
    }

    @Override
    public void clickButtonListener(String name) {
        if (name.equals(getString(R.string.btn_back))) {
            this.finish();
        }
    }
}
